package com.wudi.estate.bean.homemanage;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Buildings {
    private long id;//栋数编号
    private String name;//栋数名称
    private long houseHolds;//总户数
    private String remark;//备注
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;//创建时间
    private long  cid;//小区编号
    private boolean state;//状态 ，1为可用，0为禁用
}
